<template>
  <div id="app">
    <div class="header">
      黑马程序员-前端19期-品牌管理案例（究极进化版）
    </div>
    
    <router-view/>

    <div class="bottom">
      黑马程序员-前端19期 版权所有Copyright 2018-3018
    </div>
  </div>
</template>

<script>
export default {
  name: "App"
};
</script>

<style>
* {
  padding: 0;
  margin: 0;
}

body {
  padding: 50px 0;
}

.header,
.bottom {
  height: 50px;
  background-color: gold;
  text-align: center;
  line-height: 50px;
  color: red;
  position: fixed;
  width: 100%;
}

.header {
  top: 0;
}

.bottom {
  bottom: 0;
}

.nav ul {
  list-style: none;
  padding-left: -20px;
  overflow: hidden;
}

.nav li {
  float: left;
}

.router-link-active {
  background-color: red;
  color: gold;
}
</style>
